<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
    <script type="text/javascript">
        document.cookie = encodeURIComponent('name') + "=" + encodeURIComponent('ff');
        console.log(document.cookie);
    </script>
</body>
</html>
